<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <meta charset="UTF-8">
    <title>登陆</title>
    <style>
        .btn-default {
            color: #f5f5f5;
            background-color: #2269a7;
            border-color: #ccc;
        }
        .container {
            padding-right: 15px;
            padding-left: 15px;
            margin: 100px auto;
        }
        .form-control {
            display: block;
            width: 500px;
            height: 34px;
            padding: 6px 12px;
            font-size: 14px;
            line-height: 1.42857143;
            color: #555;
            background-color: #fff;
            background-image: none;
            border: 1px solid #ccc;
            border-radius: 4px;
            -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
            -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        }
        h3{
            color: #2269a7;
        }

    </style>
</head>
<body>
<div class="center">
<div class="container">
    <form th:action="@{/user/login}">
        <div class="form-group">

            <div> <p>
<!--                <img th:src="@{/img/ioc.jpg}">-->
                <span class="glyphicon glyphicon-home">

                <h3>欢迎登陆欧洲五大联赛!!!</h3>
                <p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
            </p>
            </div>
            <label >用户名：</label>
            <input type="text" class="form-control" id="name" name="name" placeholder="name" required>
        </div>
        <div class="form-group">
            <label >密码：</label>
            <input type="password" class="form-control" id="pwd" name="pwd" placeholder="Password" required>
        </div>

        <div class="checkbox">
            <label>
                <input type="checkbox"> 记住密码
            </label>
        </div>

        <button type="submit" class="btn btn-default">登陆</button>
    </form>
</div>
</div>
</body>
</html>